package com.damuzee.system.system.domain;

import javax.persistence.Column;
import javax.persistence.Table;

import org.mybatis.sql.BaseBean;
import org.mybatis.sql.annotation.BaseResultMap;

import com.damuzee.system.system.persistence.PermOrgMapper;



/**
 * auto generator
 */
 
@Table(name = "sys_perm_org")
@BaseResultMap(name=PermOrgMapper.class)
public class PermOrg extends BaseBean implements java.io.Serializable {
 
 
  	@Column(name = "id")
  	private Long orgId ;								//
  	@Column(name = "description")
  	private String description ;								//
  	@Column(name = "name")
  	private String name ;								//
  	@Column(name = "parent_id")
  	private Long parentId ;								//
  	
	private Integer leaf ;
 
	public Long getOrgId() {
		return orgId;
	}

	public void setOrgId(Long orgId) {
		this.orgId = orgId;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription( String description) {
		this.description = description;
	}
	public String getName() {
		return this.name;
	}

	public void setName( String name) {
		this.name = name;
	}
	public Long getParentId() {
		return this.parentId;
	}

	public void setParentId( Long parentId) {
		this.parentId = parentId;
	}

	public Integer getLeaf() {
		return leaf;
	}

	public void setLeaf(Integer leaf) {
		this.leaf = leaf;
	}
	
}